package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 工单管理对象 work_order
 * 
 * @author ruoyi
 * @date 2023-06-02
 */
public class WorkOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 工单ID */
    @Excel(name = "工单ID")
    private Long id;

    /** 工单编码 */
    @Excel(name = "工单编码")
    private String orderCode;

    /** 工单名称 */
    @Excel(name = "工单名称")
    private String orderName;

    /** 工单内容 */
    @Excel(name = "工单内容")
    private String orderContent;

    /** 是否已派单 */
    @Excel(name = "是否已派单")
    private Integer isAssigned;

    /** 派单人 */
    @Excel(name = "派单人")
    private String assignee;

    /** 是否已回复 */
    @Excel(name = "是否已回复")
    private Integer isReplied;

    /** 回复内容 */
    @Excel(name = "回复内容")
    private String replyContent;

    /** 回复图片 */
    @Excel(name = "回复图片")
    private String replyImage;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOrderCode(String orderCode) 
    {
        this.orderCode = orderCode;
    }

    public String getOrderCode() 
    {
        return orderCode;
    }
    public void setOrderName(String orderName) 
    {
        this.orderName = orderName;
    }

    public String getOrderName() 
    {
        return orderName;
    }
    public void setOrderContent(String orderContent) 
    {
        this.orderContent = orderContent;
    }

    public String getOrderContent() 
    {
        return orderContent;
    }
    public void setIsAssigned(Integer isAssigned) 
    {
        this.isAssigned = isAssigned;
    }

    public Integer getIsAssigned() 
    {
        return isAssigned;
    }
    public void setAssignee(String assignee) 
    {
        this.assignee = assignee;
    }

    public String getAssignee() 
    {
        return assignee;
    }
    public void setIsReplied(Integer isReplied) 
    {
        this.isReplied = isReplied;
    }

    public Integer getIsReplied() 
    {
        return isReplied;
    }
    public void setReplyContent(String replyContent) 
    {
        this.replyContent = replyContent;
    }

    public String getReplyContent() 
    {
        return replyContent;
    }
    public void setReplyImage(String replyImage) 
    {
        this.replyImage = replyImage;
    }

    public String getReplyImage() 
    {
        return replyImage;
    }
    public void setCreatedAt(Date createdAt)
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt()
    {
        return createdAt;
    }
    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderCode", getOrderCode())
            .append("orderName", getOrderName())
            .append("orderContent", getOrderContent())
            .append("isAssigned", getIsAssigned())
            .append("assignee", getAssignee())
            .append("isReplied", getIsReplied())
            .append("replyContent", getReplyContent())
            .append("replyImage", getReplyImage())
            .append("createdAt", getCreatedAt())
            .append("updatedAt", getUpdatedAt())
            .toString();
    }
}
